package com.test4;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.FileSystemXmlApplicationContext;

public class Test4Main
{
	public final static String CHINESE = "chinese4";
	
	public final static String AMERICAN = "american4";
	
	/**
	 * @param args
	 */
	public static void main(String[] args)
	{
		ApplicationContext ctx = new FileSystemXmlApplicationContext("applicationContext.xml");
		System.out.println("========================");
		
		Person p = (Person)ctx.getBean("chinese4");
		p.test();
	}

}
